The following table lists and describes methods of the Note Feed Tool. Methods are accessed using the control's script editor.
Note: If a property or method in the script editor has two forms with the same name, one form exists for legacy support and the other form is current. When possible, use the current form. To select the current form, append .X. to the name of the object to which the property or method applies, and then enter the property or method name. For instance, enter MyObject.X.MyProperty. If a property or method in the script editor has only one form, the X method might or might not apply. The
column in the table below indicates whether or not a property or method is accessible using the X method.
| Method |
|
Description |
|---|---|---|
|
No |
The AlarmAcknowledge method acknowledges an alarm. |
|
|
No |
The CaptureMouse method forces mouse events to fire. While the mouse is being captured, mouse events will continue to fire on the capturing entity regardless of current mouse position. This function better facilitates dragging objects on views, such as splitters to allow for more flexible layout capabilities. Automatically released on left mouse button release. Context menus are not displayed while capturing. If the function is called on a windowed tool, the function sets capture to that window. If called on a non-windowed tool, it sets capture to The View and tracks which tool is "captured," altering its mouse event functions to always fire for that tool until released. |
|
|
No |
The ClearMenu method clears all custom items from the context menu. Syntax
Parameters
Return Values
|
|
|
Yes |
ClearSelection clears selection of every note label in the Note Feed Tool. Syntax
Parameters
Return Values
See also Notes. |
|
|
No |
||
|
No |
The GetDlgCtrlID method returns the numeric resource identifier of the control within TheView. |
|
|
No |
The GetGroup method returns the object group to which an object belongs, and returns null if the object does not belong to a group. The GroupID property returns the GroupID. Calling GetGroup is equivalent to calling TheView GetGroupByID and passing the value of the object’s GroupID property, and is provided for convenience. |
|
|
Yes |
The GetSelectedNote method returns the SITE.SERVICE~NOTENUMBER of the currently selected note label. A note's database key with no preceding zeroes makes up NOTENUMBER. Syntax
Parameters
Return Values
See also Notes. |
|
|
No |
The HistoryAlarms method calls the Alarm History dialog box, which shows the alarm history of an individual alarm, and provides options for showing only particular types of alarm events. See Alarm History for more information. |
|
|
No |
The HistoryValues method calls the History Values dialog box, which shows all the history records for a given point, including additional information if the history name came from the PNT. See History Records for more information. |
|
|
No |
The IsSelected method indicates if the tool or control is selected. Can be used with [ContextMenuAutoSelect]. |
|
|
No |
The LayerName method gets the name of the layer on which the object resides. |
|
|
No |
The Move method moves an object by the specified amount, relative to its current position. |
|
|
No |
The OnUpdate method updates the control to ensure that any property modifications have taken effect. |
|
|
No |
The OnUpdateResize method updates the control to ensure that any modifications to its boundary have taken effect. |
|
|
No |
The OnUpdateStyle method updates the control to ensure that any modifications to its style properties have taken effect. |
|
|
No |
||
|
No |
||
|
No |
||
|
No |
||
|
No |
||
|
No |
The RegisterPointForChangeNotice method registers an unrelated point on a screen that may change its value. Used in conjunction with EventPointChange. |
|
|
No |
||
|
No |
The RunInitialize method runs the object’s EventInitialize event code. |
|
|
No |
This method is not used. |
|
|
No |
The Select method selects the tool or control. "True" to select, "false" to deselect. Can be used with [ContextMenuAutoSelect]. |
|
|
No |
The SetFocus method sets the focus to the control. |
|
|
No |
||
|
Yes |
||
|
Yes |
The SetSelection mode selects a note item in the Note Feed Tool. Both this method and the Trend Tool method SelectNote must be called in order for a Trend Tool and a Note Feed Tool to synchronize. This method fires this tool's EventNoteSelected event. Syntax
Parameters
Return Values
See also Notes. |
|
|
No |
||
|
No |
||
|
No |
||
|
No |
||
|
No |
||
|
No |
||
|
No |
||
|
No |
The X method returns an object that lists properties and methods specific to an ActiveX control. This method is only available for some ActiveX controls. |